﻿@model Coslen.TahorCRM.Domain.Entities.ViewModels.Editing.GroupEditViewModel
@Html.HiddenFor(model => model.Group.GroupId)
@Html.HiddenFor(model => model.Group.CreatedAt)
@Html.HiddenFor(model => model.Group.UpdatedAt)
@Html.HiddenFor(model => model.Group.DeletedAt)
<div class="editor-row">
    <div class="editor-label">
        @Html.LabelFor(model => model.Group.Name)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Group.Name)
        @Html.ValidationMessageFor(model => model.Group.Name)
    </div>
</div>
<div class="editor-row">
    <div class="editor-label">
        @Html.LabelFor(model => model.Group.GroupTypeId)
    </div>
    <div class="editor-field">
        @Html.DropDownListFor(model => model.Group.GroupTypeId, Model.GroupTypeList)
        @Html.ValidationMessageFor(model => model.Group.GroupTypeId)
    </div>
</div>
